
#ifndef _ISIMPLEXCONVEXCAST_H_
#define _ISIMPLEXCONVEXCAST_H_

#include "IAlgorithm.h"
#include "IVoronoiSimplexSolver.h"

class ISimplexConvexCast
{
public:
	ISimplexConvexCast(const BShape* shapeA, const BShape* shapeB, IVoronoiSimplexSolver* simplexSolver);

	bool calcTimeOfImpact(const BMatrix& sourceA, const BMatrix& toA, const BMatrix& fromB, const BMatrix& toB, CastResult& caseResult);

private:
	IVoronoiSimplexSolver* _simplexSolver;
	const BShape* m_convexA;
	const BShape* m_convexB;

};

#endif
